package com.hdoit.ares.logical.acc.service;

import java.util.List;

import com.hdoit.ares.logical.acc.model.GoldenBeanInfo;
import com.hdoit.ares.logical.cust.model.Customer;
import com.hdoit.ares.logical.viewmodel.acc.GoldenBeanInfoSearch;
import com.tennetcn.common.dao.base.ISuperService;
import com.tennetcn.common.message.PagerModel;
/**
 * @author      caochengmeng
 * @email       
 * @createtime  2017年12月05日 11:34:43
 * @comment
 */
public interface IGoldenBeanInfoService extends ISuperService<GoldenBeanInfo>{
	
	public GoldenBeanInfo queryModelByCustomerId(String customerId);
	
	public GoldenBeanInfo queryModel(String id);
	
	public List<GoldenBeanInfo> queryList(GoldenBeanInfoSearch incomeInfoSearch, PagerModel pagerModel);
	
	public boolean addGoldenBeanInfo(Customer customer);
	//后台的按条件查询列表
	public List<GoldenBeanInfo> queryAllList(GoldenBeanInfoSearch search,PagerModel pagerModel);

	//后台按条件查询数量
	public int queryAllCount(GoldenBeanInfoSearch search);
	//后台查询详情
	public GoldenBeanInfo queryThisModel(String id);
}